/*
Theme Name: Preference Lite
Theme URI: http://demo.styledthemes.com/pages/preference-lite.html
Author: Styled Themes
Author URI: http://www.styledthemes.com
Description: Preference Lite is a responsive theme, built with the latest HTML5 and CSS3 styling methods to give you more flexibility. You get an amazing level of styling and layout features from Unlimited Colours, a customized WordPress Gallery, several Post Formats, styled widgets, gorgeous typography, 8 sidebar widget positions, plus you get a special Showcase Header for sliders and image banners. Take full advantage of the built-in WordPress Customizer with many theme options that gives you real-time previews as you personalize your theme. Included with this theme is an installable Child Theme if you need more personalized customization. If you still need more, there's even a <strong>Premium version of Preference</strong> available. For support, please refer to the README.txt file in your download.

Version: 1.8.7
License: GNU General Public License v3 or later
License URI: license.txt
Preference Lite WordPress Theme, Copyright (C) 2014 Styled Themes 
Tags: light, gray, white, one-column, two-columns, right-sidebar, responsive-layout, fixed-layout, custom-background, custom-header, custom-menu, custom-colors, editor-style, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, translation-ready
Text Domain: preference-lite

*** Notes ***

This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using this online tool: http://www.pxtoem.com/

*/


/** Google Font Open Sans is for your headings and Google Font Oxygen Light for the text site title
 * If you choose to use your own font then you can remove both groups below of @font-face...
 */
 
@font-face {
    font-family: 'oxygenlight';
    src: url('fonts/oxygen-light-webfont.eot');
    src: url('fonts/oxygen-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/oxygen-light-webfont.woff') format('woff'),
         url('fonts/oxygen-light-webfont.ttf') format('truetype'),
         url('fonts/oxygen-light-webfont.svg#oxygenlight') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sans';
    src: url('fonts/opensans-regular-webfont.eot');
    src: url('fonts/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/opensans-regular-webfont.woff') format('woff'),
         url('fonts/opensans-regular-webfont.ttf') format('truetype'),
         url('fonts/opensans-regular-webfont.svg#open_sans') format('svg');
    font-weight: normal;
    font-style: normal;
}




/* Lets reset everything */
 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
article, aside,details, figcaption, figure, footer, header, hgroup, nav, section {
  display: block;
}

/* base styles */
html {
	font-size: 100%;
	font-family: "PT Sans", Arial, Helvetica, sans-serif;
	color:#747474;
}
body {
	font-size:13px;
		font-size: 0.813rem;
	line-height:21px;
		line-height:1.313rem;
}
/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
svg:not(:root) {
    overflow: hidden;
}

.clearfix:before,
.clearfix:after {
	display: table;
	content: "";
	line-height: 0;
}
.clearfix:after {
	clear: both;
}

/* Primary wrappers */
#page-top-bg {
	width:100%;
	height:353px;
	position:fixed;
	background-color:#fff;
	border-top:6px solid #595a67;
	border-bottom:1px solid #bcbcbc;
}
#centered-wrapper {
	max-width:1200px;
	margin:auto;
	position:relative;
	top:6px;
}
#logo-wrapper {
	min-height:60px;
	padding:30px 0;
	text-align:center;
}
#logo img {
	margin:auto;
}
#content-wrapper {
	min-height:200px;
	background-color:#f8f8f8;
	border-bottom:5px solid #595a67;
	border-radius:60px 60px 0 0;
	-webkit-border-radius: 60px 60px 0px 0px;
	-webkit-box-shadow:  0px 0px 20px 0px rgba(0, 0, 0, .2);  
    box-shadow:  0px 0px 20px 0px rgba(0, 0, 0, .2);	
}
#footer-wrapper {
	padding:20px 0 0;
	
	bottom:0;
	background-color:#78a5b6;
	border-top:1px solid #fff;
	color:#fff;
	line-height:17px;
		line-height:1.063rem;
}
#page-footer-wrapper {
	text-align:center;
	padding:20px 0;
	font-size:12px;
		font-size: 0.75rem;
	line-height:19px;
		line-height:1.125rem;
	color:#747474;
}

/* Secondary wrappers */
#nav-wrapper {
	background-color:#78a5b6;
	border-radius:60px 60px 0 0;
	-webkit-border-radius: 60px 60px 0px 0px;
	height:37px;
	text-align:center;
	font:normal 14px open_sans, Arial, sans-serif;
		font-size: 0.875rem;
	color:#fff;
}
#showcase-wrapper {
	border-bottom:1px solid #B2C1CC;
}

#showcase-footer {
	height:5px;
	border-bottom:1px solid #D7DFE6;
}
#showcase-shadow {}
#showcase-shadow  img {
	display:block;
}
#showcase img {
	margin: auto;
}
#breadcrumbs {
	margin-top:8px;
	font:italic 11px verdana, sans-serif;
		font-size: 0.688rem;
	color:#9da2a9;
}
#content {
	min-height:120px;
	padding:40px 15px;
	border-bottom:1px solid #8faeb8;
	color:#676869;
}

#right-column {
	padding-top:5px;
}
#bottom-wrapper {
	margin-top:25px;
}


/* Typography */
p {
	margin-bottom:20px;
		margin-bottom: 1.250rem;
}
h1, h2, h3, h4, h5, h6{
	font-family: open_sans, sans-serif;
	font-weight:400;
	color:#333;
	margin-bottom:16px;
		margin-bottom:1rem;
}
h4, h5, h6 {
	margin-bottom:11px;
		margin-bottom:0.688rem;
}
h1 {
	font-size:24px; 
		font-size:1.5rem;
}
h2 {
	font-size:21px; 
		font-size:1.313rem;
}
h3 {
	font-size:18px; 
		font-size:1.125rem;
}
h4 {
	font-size:16px; 
		font-size:1rem;
}
h5 {
	font-size:14px; 
		font-size: 0.875rem;
}
h6 {
	font-size:12px; 
		font-size: 0.750rem;
}
h1.entry-title {
	margin-bottom:15px;
	line-height: 28px;
	line-height: 1.750rem;
}
h1.entry-title a,
h1.intro-title a {
	display:block;
	min-height:22px;
}
h1.intro-title {
	font-size:20px; 
		font-size:1.250rem;
	line-height:22px;
		line-height:1.375rem;
}

aside h3 {
	font-size:16px; 
		font-size:1rem;
}
aside h4{
	font-size:14px; 
		font-size: 0.875rem;
}
#footer-wrapper aside h4 {
	color:#fff;
}

h1.entry-title-status,
h2.status-date {
	margin-bottom:8px;
}

/* colours */
.colour-default {color:#5e97ad;}
.colour-grey {color:#828d95;}
.colour-red {color:#d05e5e;}
.colour-amber {color:#cc9f34;}
.colour-purple {color:#ba8cb5;}
.colour-mycustom {color:#000;}


/* styles for your text logo and site description
 * change the font and colour to your preference
 */
h1#site-title {
	font:normal 40px oxygenlight,arial,sans-serif;
		font-size:2.500rem;
	margin-bottom:0px;
		
}
h2#site-description {
	font:normal 14px arial,sans-serif; 
		font-size: 0.875rem;
	margin-bottom:0;
}
h2.aside-title {
	font-style:italic;
	font-size:20px;
	color:#d6d7d8;
}
.sticky span.featured-post{
	vertical-align: 5px;
	font-size: 16px;
		font-size: 1rem;
	font-style: italic;
	color: #cc9f34;
}
address {
	margin:20px 0;
}
kbd {
	font-size:14px;
		font-size: 0.875rem;
}
sub,
sup {
	position: relative;
	font-size: 75%;
	line-height: 0;
	vertical-align: baseline;
	color:#333;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
.dropcap:first-letter,
.dropcap-grey:first-letter,
.dropcap-red:first-letter,
.dropcap-amber:first-letter,
.dropcap-purple:first-letter {
	display:block;
	margin:7px 8px 0px 0px;
	float:left;
	font-size:44px;
	font-family:"Dancing Script", Georgia,Times,serif;
	color:#5e97ad;
}
.dropcap-grey:first-letter {
	color:#828d95;
}
.dropcap-red:first-letter {
	color:#d05e5e;
}
.dropcap-amber:first-letter {
	color:#cc9f34;
}
.dropcap-purple:first-letter {
	color:#ba8cb5;
}
.drop-default,
.drop-red,
.drop-grey,
.drop-amber,
.drop-purple	{
	display:block;
	height:37px;
	width:37px;
	float:left;
	text-align:center;
	font:normal 25px open_sans, sans-serif;
		font-size:1.563rem;
	background: url('images/dropcap.png') 0 0 no-repeat;
	margin:0 9px 0 0;
	color:#fff;
	overflow:hidden;
}
.drop-default {
	background-color:#78a5b6;
}
.drop-red {
	background-color:#d05e5e;
}
.drop-grey	{
	background-color:#828d95;
}
.drop-amber  {
	background-color:#cc9f34;
}
.drop-purple  {
	background-color:#ba8cb5;
}

blockquote {
	min-height:44px;
	width:85%;
	background: transparent url('images/blockquote.png') 0 9px no-repeat;
	margin:0 auto 10px;
	padding:20px 0 20px 32px;
	font-style:italic;
	font-size:15px;
		font-size: 0.938rem;
}
blockquote p {
	margin:0;
}
blockquote.quote-right {
	float:right;
	margin:0 0 20px 24px;
	padding-top:12px;
}
blockquote.quote-left {
	float:left;
	margin:0 24px 20px 0;
	padding-top:12px;	
}
blockquote small,
cite{
	font-size:11px;
		font-size: 0.688rem;
	color:#79a5b4;
}
cite {
	font-style:normal;
}

/* Link styles */
a:link, 
a:visited {	 
	text-decoration:none;
}
a:hover {
}
a:focus {
	outline:none;
}

h1 a:link,
h1 a:visited,
#right-column a:link,
#right-column a:visited {}

h1 a:hover,
#right-column a:hover {	}

#footer-wrapper aside a {}

/* List Styles */
ol#comment-list,
ol.children {
	margin-left: 0;
	list-style: none;
}
ol.children {
	margin-left: 24px;
		margin-left: 1.5rem;
}


/* Comments */
ol#comment-list,
ol.children {
	margin-left: 0;
	list-style: none;
}
ol.children {
	margin-left: 24px;
		margin-left: 1.5rem;
}
header.comment-meta {
	margin-bottom: 0.75rem;
	padding: 6px 5px;
	background-color: #f2f2f2;
	font-style: italic;
}
p.comment-awaiting-moderation {}
.reply {
	margin-bottom: 20px;
		margin-bottom: 1.250rem;
}

/* global List and definition styles */
ul,
ol ,
dl {
	margin: 10px 0 12px 30px;
}
ul ul,
ul ol,
ol ol,
ol ul {
	margin:7px 0 7px 23px;
}
li {
  line-height: 18px;
	line-height: 1.125rem;
}

/* Definition Lists */
dl {
	margin-left:0;
}
dt {
	text-transform:uppercase;
}
dd {
	background:none no-repeat left top;
	margin:10px 10px 10px 30px;
	padding-left:10px;
	font-style:italic;
}
dd.dl-line {
	border-left:1px solid #e1e1e1;
}


/* basic list styles */
ul.square {
	list-style-type: square;
}
ol.upper-alpha {
	list-style-type: upper-alpha;
}
ol.lower-alpha {
	list-style-type: lower-alpha;
}
ol.upper-roman {
	list-style-type: upper-roman;
}
ol.lower-roman {
	list-style-type: lower-roman;
}
ol.decimal-leading-zero {
	list-style-type: decimal-leading-zero;
}
/* sidebar lists */
aside ul,
aside ul.list-arrow1,
aside ul.list-arrow2,
aside ul.list-arrow3,
aside ul.list-arrow4 {
	list-style: none;
	margin: 15px 0;
}
aside ul li {
	border-bottom: 1px solid #dedede;
	line-height: 18px;
		line-height: 1.125rem;

}

/* list styles with images */
ul.list-arrow1,
ul.list-arrow2,
ul.list-arrow3,
ul.list-arrow4 {
	list-style: none; 
	margin: 18px;
}
aside ul.list-arrow1 li,
aside ul.list-arrow2 li,
aside ul.list-arrow3 li,
aside ul.list-arrow4 li {
	line-height: 18px;
		line-height: 1.125rem;
	border-bottom: none;
}
ul.list-arrow1 li,
ul.list-arrow2 li,
ul.list-arrow3 li,
ul.list-arrow4 li {
	line-height: 18px;
		line-height: 1.125rem;
	margin-bottom: 10px;
	padding: 0 0 0 30px;
	background-image: none;
}

ul.list-arrow1 li{
	background: url('images/list-styles.png') -120px -1px no-repeat;
}	
ul.list-arrow2 li {
	background: url('images/list-styles.png') -100px -21px no-repeat;
}
ul.list-arrow3 li {
	background: url('images/list-styles.png') -80px -41px no-repeat;
}
ul.list-arrow4 li {
	background: url('images/list-styles.png') -60px -61px no-repeat;
}


/* amber list */
ul.list-arrow1.list-amber li {
	background-position: -120px -161px;
}	
ul.list-arrow2.list-amber  li {
	background-position: -100px -181px;
}
ul.list-arrow3.list-amber  li {
	background-position: -80px -201px;
}
ul.list-arrow4.list-amber  li {
	background-position: -60px -221px;
}

/* purple list */
ul.list-arrow1.list-purple li {
	background-position: -120px -321px;
}	
ul.list-arrow2.list-purple  li {
	background-position: -100px -341px;
}
ul.list-arrow3.list-purple  li {
	background-position: -80px -361px;
}
ul.list-arrow4.list-purple  li {
	background-position: -60px -381px;
}

/* red list */
ul.list-arrow1.list-red li {
	background-position: -120px -481px;
}	
ul.list-arrow2.list-red  li {
	background-position: -100px -501px;
}
ul.list-arrow3.list-red  li {
	background-position: -80px -521px;
}
ul.list-arrow4.list-red  li {
	background-position: -60px -541px;
}

/* grey list */
ul.list-arrow1.list-grey li {
	background-position: -120px -641px;
}	
ul.list-arrow2.list-grey  li {
	background-position: -100px -661px;
}
ul.list-arrow3.list-grey  li {
	background-position: -80px -681px;
}
ul.list-arrow4.list-grey  li {
	background-position: -60px -701px;
}


/* Responsive images. Fluid images for posts, comments, and widgets */
.comment-content img,
.entry-content img,
.entry-summary img,
#site-header img,
.widget img,
.wp-caption {
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly */
.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#site-header img {
	height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
	height: auto;
	max-width: 100%;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object,
video {
	margin-bottom: 24px;
	max-width: 100%;
}

p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
	margin-bottom: 0;
}


/* Image styles */
img {
	display:inline-block;
	/* Responsive images (ensure images don't scale beyond their parents) */
	max-width: 100%;
	/* Part 1: Set a maxium relative to the parent 
	width: auto;*/
	/* IE7-8 need help adjusting responsive images */
	height: auto;
	/* Part 2: Scale the height according to the width, otherwise you get stretching */
	vertical-align: middle;
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/*.gj-portfolio-intro-image img,*/
.img-intro img,
.img-intro-left img,
.img-intro-right img,
.img-intro-none img,
.img-full-left img,
.img-full-right img,
.img-full-none img,
.imageborder,
.contact-image img,
.entry-attachment img,
img.alignnone,
img.alignright,
img.alignleft,
img.aligncenter,
div.wp-caption img {
	border-bottom:8px solid #78a5b6;
}
.entry-attachment img {
	border-width:12px; 
	margin-bottom:15px;
}
.img-intro img,
.img-intro-left img, 
.img-full-left img,
div.wp-caption.alignleft,
img.alignleft {
	float:left; 
	margin:5px 30px 20px 0;
}

.img-intro-right img,
.img-full-right img,
div.wp-caption.alignright,
img.alignright {
	float:right; 
	margin:8px 0 20px 30px;
}

.img-intro-none img,
.img-full-none img,
div.wp-caption.alignnone,
img.alignnone {
	float:none; 
	margin:8px 0 20px;
}
div.wp-caption.aligncenter,
img.aligncenter {
	margin:8px auto 20px;
}

.wp-caption-text {
	text-align:center;
	margin-top:4px;
	margin-bottom:6px;
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
}
/* For the attachment image.php view */
.attachment-details {
	font:normal 14px arial,helvetica, sans-serif;
	color:#a6a8a5;
	text-transform:uppercase;
	margin:0 auto 14px;
}
span.mini {
	font-size:11px;
	text-transform:normal;
}
.entry-caption {
	font-size:18px;
	}
.entry-description {
	width:40%;
	margin:auto;
}
/* Default WP Gallery */
.gallery {
	display: block;
	clear: both;
	overflow: hidden;
	margin: 0 auto;
	}
.gallery .gallery-row {
	display: block;
	clear: both;
	overflow: hidden;
	margin: 0;
	}
.gallery .gallery-item {
	overflow: hidden;
	float: left;
	margin: 20px .85% 0 .85%;
	text-align: center;
	list-style: none;
	padding: 0;	
	}
.gallery .gallery-icon img.attachment-thumbnail {
	border-bottom:8px solid #78a5b6;
}
.gallery .gallery-item .gallery-icon img {
	width: auto;
	height: auto;
	margin: 0 auto;	

}
.gallery-caption {
	margin-left: 0;
}

.gallery-columns-0 dl { width: 100%; }
.gallery-columns-1 dl { width: 100%; }
.gallery-columns-2 dl { width: 48.3%; }
.gallery-columns-3 dl { width: 31.63%; }
.gallery-columns-4 dl { width: 23.3%; }
.gallery-columns-5 dl { width: 18.3%; }
.gallery-columns-6 dl { width: 14.96%; }
.gallery-columns-7 dl { width: 12.58%; }
.gallery-columns-8 dl { width: 10.80%; }
.gallery-columns-9 dl { width: 9.41%; }
.gallery-columns-10 dl { width: 8%; }

/* Article styles */
.gj-intro {}	
.gj-article-details {}

.gj-actions,
.gj-actions li,
.article-info,
.article-info dd {
	display:inline;
}
.article-info dd {
	margin:0 12px 0 0;
	padding:0;
}
.article-info dd:first-child {
	margin-left:0;
}
.gj-article-details {
	margin:12px 0 18px;
	font:normal 11px verdana, helvetica, sans-serif;
		font-size:0.688rem;
}
.gj-item-separator {
	height:56px;
}
.category-description{
	margin-bottom:40px;
}

hr {
  margin: 30px 0;
  border: 0;
}

.entry-footer {
	font-style: italic;
	margin: 30px 0;
		margin: 1.875rem 0;	
	clear:both;
}
.page-links,
.cat-links,
.tag-links,
.modified-date {
	font-weight: bold;
	font-style: normal;
}
aside#author-info,
nav.nav-single {
	margin-bottom: 48px;
		margin-bottom: 3rem;
}

.bypostauthor {}
.aside-post {
	border-left:5px solid #e7e9ea;
	padding-left:12px;
}
.aside-entry-meta {
	font:italic 11px verdana, arial, helvetica, sans-serif;
}
.status-date {
	font-size:12px;
}
#author-avatar {
	background-color:#c4c4c4;
}
#author-link {
	font-size:.688rem;
	padding:6px 0;
	font-style:italic;
}
#author-description,
nav.nav-single {
	padding:7px;
	background-color:#f2f2f2;
}


#author-title,
#comments-title {
	font-size: 16px;
		font-size: 1rem;
}
.assistive-text {
	margin-bottom: 0;
}
#comments-title {
	margin-bottom: 16px;
		margin-bottom: 1rem;
}

cite {
	font-size: 11px;
		font-size: 0.688rem;
}
cite.fn {
	font-size: 14px;
		font-size: 0.875rem;
	font-weight: bold;
}
cite.fn span,
.comment-date {
	font-size: 11px;
		font-size: 0.688rem;
	font-weight: normal;
}
blockquote cite:after {
	content: ' \2014 \00A0';
}
span.edit-link,
.reply {
	font-size: 11px;
		font-size: 0.688rem;
}


/* Comments Form */
.form-horizontal .control-label {
	width:60px;
}
.form-horizontal .controls {
	margin-left:60px;
}
#commentform p.form-submit {
	text-indent:90px;
}
p.help-inline,
span.required {
	font-size:11px;
		font-size:0.688rem;
	font-style:italic;
}

/* Table and special list layouts */
.display-limit {
	margin-bottom:20px;
}
table {
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
}
.table {
  width: 100%;
  margin-bottom: 20px;
}
.table th,
.table td {
	padding:6px;  
	text-align: left;
	vertical-align: top;
}
.table th {
  font-size:16px;
  letter-spacing:1px;
}
.table-striped thead tr {
	background-color: #78a5b6;
	color:#fff;
}
.table-striped thead tr a {
	color:#fff;
}
.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
	background-color: #e9e9e9;
}
.table-striped tbody tr:nth-child(even) td,
.table-striped tbody tr:nth-child(even) th {
	background-color: #fff;
}


.alignright,
.pull-right {
	float:right;
}
.alignleft,
.pull-left {
	float:left;
}
.aligncenter {
	margin-left:auto;
	margin-right:auto;
}

/* Module styles */
.module {
	margin-bottom:25px;
		margin-bottom:1.563rem;
}

/* Module style 1 */
.modline-outer {
	height:2px;
	border-top:1px solid #78a5b6;
	border-bottom:1px solid #78a5b6;
	margin-bottom:18px;
}
.modline-inner {
	width:25%;
	height:2px;
	background-color:#78a5b6;
}

/* Menu styles */
#gj-menu a {
	color:#fff;
	text-decoration:none;
}


/* Default module menu and list styles */
aside ul li {
	margin:0;
	padding:6px 0;
	border-bottom:1px solid #dadddf;
}
aside ul li:hover,
aside ul.menu li:hover {
	border-bottom:1px solid #ededed;
}
aside ul li a:link {
}
aside ul li:hover a {
}
aside ul.list-arrow1 li:hover,
aside ul.list-arrow2 li:hover,
aside ul.list-arrow3 li:hover,
aside ul.list-arrow4 li:hover,
aside .thumbnails > li:hover  {
	border: none;
}
#footer-wrapper li,
.wk-twitter-list article {
	border-color:#afc7cf;
}
#footer-wrapper li:hover {
	border-color:#84a2ab;
}
aside .thumbnails {
	margin-top:4px;
	margin-left:0;
}
aside .thumbnails > li {
	padding:0;
	border:none;
}
aside .thumbnails img {
	border-width:4px;
}

/* Widget Menus */
aside ul.menu li {
	list-style:none;
	margin-left:0;
}
aside ul.menu li {
	margin:0;
	padding:6px 0;
	border-bottom:1px solid #dadddf;
}
aside ul.menu li.current a:link,
aside ul.menu li a:hover	{}

aside ul.sub-menu {
	margin:3px 0 0 12px;
}
aside ul.sub-menu li:last-child {
	border:none;
	padding-bottom:0;
}
/* lets style the sub menu items */
	aside ul.menu li .current > a,
	aside ul.menu li .active > a,
	aside ul.menu li .current-menu-item > a,
	aside ul.menu li .current-menu-ancestor > a,
	aside ul.menu li .current_page_item > a,
	aside ul.menu li .current_page_ancestor > a {
}

/* search widget */
#s.span2 {
	margin-left: 0;
}


/* Footer wrapper widget menus */
#footer-wrapper .module.menu li {
	border:none;
}
#footer-wrapper .module.menu ul li a {
	background:#84a2ab;
	color:#fff;
}
#footer-wrapper .module.menu ul li.current a:link,
#footer-wrapper .module.menu ul li a:hover	{
	background-color:#c6d8dd;
	color:#747474;
}


/* Code styles */
code, pre {
  	padding: 0 3px 2px;
  	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  	font-size: 12px;
 	 color: #333333;
  	-webkit-border-radius: 5px;
     	-moz-border-radius: 5px;
          	border-radius: 5px;
}
code {
	margin:0 1px;
  	padding: 2px 7px;
  	color: #cc9834;
  	background-color: #f7f7f9;
  	border: 1px solid #e1e1e8;
}
pre {
  	display: block; 
  	word-break: break-all;
  	word-wrap: break-word;
  	white-space: pre;
  	white-space: pre-wrap;
	background: url('images/pre.png') repeat #f6f6f6;
	border: 1px solid #dfe0e3;
	font: 12px/18px Monaco, Consolas, "Courier News", monospace;
	padding: 17px;
	margin:15px 0;
}	


/* Widgetkit Twitter module */
.wk-twitter .image {
	padding:0;
	border-color:#b8c9ce;
}

/* Bootstrap overrides */
.form-horizontal .control-group {
	margin:12px 0;
}


/* 37 Menus
-------------------------------------------------------------- */

/* Main Menu Toggle */
.menu-toggle {
padding: 3px 30px;
	margin:8px 15px 0;
	color: #ffffff;
	font-size:12px;
	-webkit-border-radius: 22px 22px 0 0;
	-moz-border-radius: 22px 22px 0 0;
	border-radius: 22px 22px 0 0 ;
	line-height: 1.428571429;
	font-weight: normal;
	color: #fff;
	background-color: #e6e6e6;
	background-repeat: repeat-x;
	  background-color: #618b9b;
	  background-image: -moz-linear-gradient(top, #8db9c9, #618b9b);
	  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#618b9b), to(#8db9c9));
	  background-image: -webkit-linear-gradient(top, #8db9c9, #618b9b);
	  background-image: -o-linear-gradient(top, #8db9c9, #618b9b);
	  background-image: linear-gradient(to bottom, #8db9c9, #618b9b);
	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
}
.menu-toggle {
    cursor: default;
}
.menu-toggle:hover {
	color: #fff;
	  background-color: #618b9b;
	  background-image: -moz-linear-gradient(top, #8db9c9, #618b9b);
	  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8db9c9), to(#618b9b));
	  background-image: -webkit-linear-gradient(top, #618b9b, #8db9c9);
	  background-image: -o-linear-gradient(top, #618b9b, #8db9c9);
	  background-image: linear-gradient(to bottom, #618b9b, #8db9c9);
	cursor: pointer;
}
.menu-toggle:active,
.menu-toggle.toggled-on {
	color: #fff;
	  background-color: #618b9b;
	  background-image: -moz-linear-gradient(top, #8db9c9, #618b9b);
	  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8db9c9), to(#618b9b));
	  background-image: -webkit-linear-gradient(top, #618b9b, #8db9c9);
	  background-image: -o-linear-gradient(top, #618b9b, #8db9c9);
	  background-image: linear-gradient(to bottom, #618b9b, #8db9c9);
	border: none;
}


/* Navigation Menu */
.main-navigation {
	margin-top: 0;
	text-align: center;
}
.main-navigation li {
	background-image:none;
	margin-top: 0;
	padding-left:0;
}
.main-navigation a {
	color: #fff;
}
.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
	display: none;
}
.main-navigation ul.nav-menu.toggled-on,
.menu-toggle {
	display: inline-block;
}

/* Minimum width of 600 pixels. */
@media screen and (min-width: 600px) {
	.main-navigation ul.nav-menu,
	.main-navigation div.nav-menu > ul {
		display: inline-block !important;
		text-align: center;
		width: 100%;
	}
	.main-navigation ul {
		margin: 0;
		text-indent: 0;
	}
	.main-navigation li a,
	.main-navigation li {
		display: inline-block;
		text-decoration: none;
	}
	.main-navigation li a {
		border-bottom: 0;
		padding:10px 13px 9px;
		white-space: nowrap;
	}
	.main-navigation li a:hover {
	
	}
	.main-navigation li {
		position: relative;
	}
	.main-navigation ul.sub-menu li {
		margin-right:0;
		text-align:left;
	}
	.main-navigation li ul {
		display: none;
		margin: -6px;
		padding:0 5px 12px 5px;
		position: absolute;
		top: 100%;
		left:0;  /* lets align the 2nd level a little to the left */
		z-index: 9999; /* lets make the submenu float above sliders */
		-webkit-box-shadow: 0 8px 10px 0 rgba(0,0,0,.5);
		box-shadow: 0 8px 10px 0 rgba(0,0,0,.5);
	}
	.main-navigation li ul ul {
		top: 0;
		left: 90%; /* lets have the 3rd level overlap the 2nd */
	}
	.main-navigation ul li:hover > ul {
		display: block;
		padding:12px 5px 12px 5px;
		
		border-radius:12px;
	}
	.main-navigation li ul li a {
		display: block;
		font-size: 12px;
		line-height: 12px;
		line-height: 1.7;
		padding: 4px 16px;
		width: 160px;
		white-space: normal;
	}
	.main-navigation li ul li a:hover {	
		-webkit-border-radius:6px;
				border-radius:6px;
	}
	
	/* make the main level menu items active with a colour */
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		
	}
	/* make the submenus active with a background */
	.main-navigation ul.sub-menu li.current-menu-item > a,
	.main-navigation ul.sub-menu li.current-menu-ancestor > a,
	.main-navigation ul.sub-menu li.current_page_item > a,
	.main-navigation ul.sub-menu li.current_page_ancestor > a {
	
		-webkit-border-radius:6px;
				border-radius:6px;
	}
	
	.menu-toggle {
		display: none;
	}
}	
@media (min-width: 320px) and (max-width: 599px) {
	.main-navigation {
		margin-bottom: 20px;
	}
	.main-navigation li {
		margin-top:12px;
		font-size: 12px;
		line-height: 1;
	}
	.main-navigation ul {
		margin:0;
		padding:10px 20px;
		list-style:none;
		
		text-align: left;
		
		border-radius:12px;
		position: relative;
		z-index:9999;
		-webkit-box-shadow: 0 8px 10px 0 rgba(0,0,0,.5);
		box-shadow: 0 8px 10px 0 rgba(0,0,0,.5);
	}
	.main-navigation ul.sub-menu {
		border:none;
		margin:0;
		padding-top:0;
		padding-bottom:0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
	.main-navigation ul.sub-menu li {
		width: 100%;
		font-size: 12px;
		font-style: italic;
	}
	.main-navigation li ul li a {
		width: 100%;
	}
	.main-navigation li ul li a:hover {
		background: none!important;
	}
	/* make the submenus active with a background */
	.main-navigation ul.sub-menu li.current-menu-item > a,
	.main-navigation ul.sub-menu li.current-menu-ancestor > a,
	.main-navigation ul.sub-menu li.current_page_item > a,
	.main-navigation ul.sub-menu li.current_page_ancestor > a {
		
		background: none!important;
	}
}



/*
 * Footer Menu 
 */
#st-footer-menu.menu {
	margin:0;
}
#st-footer-menu li {
	display:inline;
	margin:0 4px 0 0;
	
 }
#st-footer-menu li:before { 
	content:"\00B7";
	padding-right:7px;
}
#st-footer-menu li:first-child:before {
	content:"";
}
#st-footer-menu li a:hover {
	text-decoration:underline;
}
/* Mobile styling */
@media (max-width: 767px) {
	#centered-wrapper {
		margin:0 10px;
	}
	#footer-wrapper {
		padding-left:10px;
		padding-right:10px;
	}
	#breadcrumbs {
		padding-left:15px;
		padding-right:15px;
	}
	.wk-slideshow-preference .caption,
	.wk-slideshow-preference .next,
	.wk-slideshow-preference .prev { display: none; }
}
